home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / clang / mcomm551.zip / SMALTERM.DOC < prev    next >
Text File  |  1991-11-30  |  2KB  |  51 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.          ===============================================================
  7.  
  8.                SMALTERM.C -- Demo comm program for async routines
  9.                   Mike Dumdei, 6 Holly Lane, Texarkana TX 75503
  10.  
  11.          ===============================================================
  12.  
  13.             Smalterm is a demo program written using the routines in the
  14.          COMM_S library to demonstrate the library functions.  The C
  15.          version does not have any file transfer protocols built in,
  16.          however, the SND.BAT and RCV.BAT files are set up to call
  17.          Forsberg's DSZ external Zmodem protocol and are executed by
  18.          pressing PGUP or PGDN.  The C++ version does include XMODEM and
  19.          XMODEM-1K protocols.
  20.  
  21.             It contains code for a host mode (host mode only in C
  22.          version) similar to that found in Procomm, a Shell to DOS
  23.          function, receive with timeout, hang-up, remote prompt for user
  24.          input, and some other useful functions.
  25.  
  26.             To build the program you need to have the header files that
  27.          come in the archive and the COMM_S.LIB to link with.  If you
  28.          use Turbo C or Zortech C, you will also need to convert the
  29.          COMM_S lib to your format by running TCLIBS.BAT or ZTCLIBS.BAT.
  30.          Once you have the correct LIBs and .H files in your INCLUDE and
  31.          LIB directories, compile and link:
  32.  
  33.             (q)cl smalterm.c /link comm_s         ;Microsoft C
  34.             tcc smalterm.c comm_s.lib             ;Turbo C
  35.             ztc -b smalterm.c comm_s.lib          ;Zortech C
  36.  
  37.             tcc smalterm.cpp comm.cpp comm_s.lib  ;Turbo C++
  38.             ztc smalterm.cpp comm.cpp comm_s.lib  ;Zortech C++
  39.  
  40.          To run the program:
  41.  
  42.             smalterm {COM1 | COM2} {parameters Ex: 2400n81}
  43.  
  44.             SMALTERM is yours to do what you want with but you may not
  45.          distribute the library source code or the libraries that come
  46.          with the registered version.
  47.  
  48.             Mike Dumdei, 6 Holly Lane, Texarakana TX 75503
  49.             North East Texas DataLink 1:19/128, 903 838-6713
  50.  
  51.